﻿
namespace Noodles.Core.Settings
{
    public interface IBootstrapSettings
    {
        /// <summary>
        /// Gets a setting by the specified name. Returns null if the setting is not set.
        /// </summary>
        /// <param name="name">The setting name.</param>
        /// <returns></returns>
        string Get(string name);

        /// <summary>
        /// Sets the specified setting.
        /// </summary>
        /// <param name="name">The setting name.</param>
        /// <param name="value">The value to set it to.</param>
        void Set(string name, string value);
    }
}
